package com.ca.project.Server.Modules.RepairImg.PO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @PACKAGE_NAME: com.ca.project.Server.Modules.RepairImg.PO
 * @NAME: UploadRepairImgPO
 * @USER: ASUS
 * @DATE: 4/1/2025
 * @TIME: 下午8:48
 **/
@Data
@ApiModel(value = "上传维修图片")
public class UploadRepairImgPO implements Serializable {

    private static final long serialVersionUID = 2070886789414884580L;

    @ApiModelProperty(value = "token", required = true)
    @NotBlank(message = "token不能为空")
    private String token;

    @ApiModelProperty(value = "文件实体", required = true)
    @NotNull(message = "文件实体不能为空")
    private MultipartFile file;
}
